package com.ml.mall.bean.res.log;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @description 操作日志查询结果类
 * @author yx
 * @date 2021/10/9
 * @version 1.0
*/
@ApiModel("操作日志查询结果")
@Data
public class OperationLogQueryRes {

    @ApiModelProperty(value = "功能模块")
    private String operModule;

    @ApiModelProperty(value = "操作类型")
    private String operType;

    @ApiModelProperty(value = "请求描述")
    private String operDesc;

    @ApiModelProperty(value = "请求参数")
    private String operReqParam;

    @ApiModelProperty(value = "返回参数")
    private String operResParam;

    @ApiModelProperty(value = "操作人")
    private String operUserId;

    @ApiModelProperty(value = "操作人名称")
    private String operUserName;

    @ApiModelProperty(value = "操作方法")
    private String operMethod;

    @ApiModelProperty(value = "请求URI")
    private String operUri;

    @ApiModelProperty(value = "请求IP")
    private String operIp;

    @ApiModelProperty(value = "操作时间")
    private Date operCreateTime;

    @ApiModelProperty(value = "操作版本号")
    private String operVer;

    @ApiModelProperty(value="角色ID",example = "1")
    private Integer roleId;

    @ApiModelProperty(value="角色类型：用于区分四种类型：1：管理员；2合作商 ；3：卖家；4买家",example = "1")
    private Integer roleType;

    @ApiModelProperty(value = "角色名称")
    private String roleName;
}
